$(function() {
	var Yyzx = function() {
		this.$Tab = $('.js_tab').find('li');
		this.$Con = $('.js_con');
		this.init();
	}

	Yyzx.prototype = {
		init: function() {
			this.listen();
		},

		listen: function() {
			var that = this;

			that.$Tab.each(function(e) {
				var $this = $(this);

				$this.click(function() {
					that.$Tab.removeClass('cur');
					$this.addClass('cur');
					that.$Con.hide().eq(e).fadeIn();
				});
				
			});
		}
	}

	var yyzx = new Yyzx();
});